#include <iostream>
#include "MyVector.h"

using namespace std;
int main() {
	MyVector<int> test(10);
	test.push_back(1);
	cout << test[0] << endl;
	cout << test.size() << endl;
	cout << test.capacity() << endl;
	test.push_back(2);
	test.push_back(3);
	test.push_back(4);
	test.push_back(5);
	test.push_back(6);
	test.push_back(7);
	test.push_back(8); 
	test.push_back(9);
	test.push_back(10);
	cout << test.size() << endl;
	cout << test.capacity() << endl;
	test.push_back(11);
	cout << test.size() << endl;
	cout << test.capacity() << endl;
	test.pop_back();
	cout << test.size() << endl;
	cout << test.capacity() << endl;
	system("pause");
	return 0;
}
